package com.huawei.esdk.uc.jna.struct;

import java.util.ArrayList;
import java.util.List;

import com.sun.jna.Structure;

public class STDeviceListParam extends Structure
{

    public int iTotal;         //总共数目
    public int iFrom;          //开始索引
    public int iTo;            //结束索引
    public STDeviceParam[] deviceList;
    
    public STDeviceListParam(int size)
    {
        super();
        deviceList = new STDeviceParam[size];
    }
    
    
    @Override
    protected List<String> getFieldOrder()
    {
        ArrayList<String> list = new ArrayList<String>();
        list.add("iTotal");
        list.add("iFrom");
        list.add("iTo");
        list.add("deviceList");
        return list;
    }

}
